﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="AlbumView.aspx.cs" Inherits="Client_Web.AlbumView" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h1>
        Liste des images de l'album #<% Response.Write(album.id); %>&nbsp;-&nbsp;<% Response.Write(album.name); %>
    </h1>
    <p>Album ajouté le <% Response.Write(album.date); %></p>
    <% foreach (Client_Web.PictureStruct picture in pictureList)
       { %>
    <div class="picture_item">
        <a href="PictureView.aspx?PictureId=<% Response.Write(picture.id); %>" title="<% Response.Write(picture.name); %>">
            <img src="Picture.aspx?PictureId=<% Response.Write(picture.id); %>" title="<% Response.Write(picture.name); %>"
                alt="<% Response.Write(picture.name); %>" />
        </a>
        <h2>
            <a href="PictureView.aspx?PictureId=<% Response.Write(picture.id); %>" title="<% Response.Write(picture.name); %>">
                #<% Response.Write(picture.id); %>&nbsp;-&nbsp;<% Response.Write(picture.name); %>
            </a>
        </h2>
    </div>
    <% } %>
    <div class="clear">
    </div>
</asp:Content>
